package com.community.pojo;

import java.util.Date;

public class AnswerPayRecord {
    private Integer id;

    private String username;

    private Double money;

    private Integer questionId;

    private String ip;

    private Integer answerId;

    private Date createTime;

    private Date updateTime;

    public AnswerPayRecord(Integer id, String username, Double money, Integer questionId, String ip, Integer answerId, Date createTime, Date updateTime) {
        this.id = id;
        this.username = username;
        this.money = money;
        this.questionId = questionId;
        this.ip = ip;
        this.answerId = answerId;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public AnswerPayRecord() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Integer getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Integer questionId) {
        this.questionId = questionId;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    public Integer getAnswerId() {
        return answerId;
    }

    public void setAnswerId(Integer answerId) {
        this.answerId = answerId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}